package com.xj.game;

public class Computer {
    public String name;
    public int score;
    public int caiquan;

    public void showFirst(){
        caiquan=(int)(Math.random()*3+1);
        switch(caiquan){
            case 1:System.out.println(name+"出拳：剪刀");break;
            case 2:System.out.println(name+"出拳：石头");break;
            case 3:System.out.println(name+"出拳：布");break;
        }
    }
}
